package com.hs.mesj.socket;

import java.util.ResourceBundle;

public class ApplicationProUtil {
    public static String getValue(String key){
       ResourceBundle resource = ResourceBundle.getBundle("application");
        String value = new String(resource.getString(key).trim());//防止中文乱码
        return value;
    }

    public static void main(String[] args) {
        System.out.println(ApplicationProUtil.getValue("socket.sport"));
    }


}
